home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1996-06-30 | 1.9 KB | [ TEXT/CWIE]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
1%
dexvert
Text File (text/txt)
fallback
Supported
100%
file
MacBinary II, inited, Sun Jun 30 13:32:06 1996, modified Sun Jun 30 13:32:06 1996, creator 'CWIE', type ASCII, 1161 bytes "TEnvironment.h" , at 0x509 410 bytes resource
default (weak)
99%
file
data
default
74%
TrID
Macintosh plain text (MacBinary)
default
25%
TrID
MacBinary 2
default (weak)
100%
siegfried
fmt/1762 MacBinary (II)
default
100%
lsar
MacBinary
default
id metadata key value macFileType [ TEXT] macFileCreator [ CWIE]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 0e 54 45 6e 76 69 72 | 6f 6e 6d 65 6e 74 2e 68 |..TEnvir|onment.h| |00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......| |00000050| 00 00 00 00 00 04 89 00 | 00 01 9a ad fc 6a 96 ad |........|.....j..| |00000060| fc 6a 96 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.j......|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ad 06 00 00 |........|........| |00000080| 2f 2a 0d 20 20 46 69 6c | 65 3a 09 09 09 54 45 6e |/*. Fil|e:...TEn| |00000090| 76 69 72 6f 6e 6d 65 6e | 74 2e 68 0d 0d 20 20 43 |vironmen|t.h.. C| |000000a0| 6f 6e 74 61 69 6e 73 3a | 09 09 0d 0d 20 20 57 72 |ontains:|.... Wr| |000000b0| 69 74 74 65 6e 20 62 79 | 3a 09 41 72 6e 6f 20 47 |itten by|:.Arno G| |000000c0| 6f 75 72 64 6f 6c 0d 0d | 20 20 43 6f 70 79 72 69 |ourdol..| Copyri| |000000d0| 67 68 74 3a 09 a9 20 31 | 39 39 36 20 62 79 20 41 |ght:.. 1|996 by A| |000000e0| 70 70 6c 65 20 43 6f 6d | 70 75 74 65 72 2c 20 49 |pple Com|puter, I| |000000f0| 6e 63 2e 2c 20 61 6c 6c | 20 72 69 67 68 74 73 20 |nc., all| rights | |00000100| 72 65 73 65 72 76 65 64 | 2e 0d 0d 2a 2f 0d 0d 23 |reserved|...*/..#| |00000110| 69 6e 63 6c 75 64 65 20 | 3c 54 79 70 65 73 2e 68 |include |<Types.h| |00000120| 3e 0d 23 69 6e 63 6c 75 | 64 65 20 3c 47 65 73 74 |>.#inclu|de <Gest| |00000130| 61 6c 74 2e 68 3e 0d 0d | 23 69 6e 63 6c 75 64 65 |alt.h>..|#include| |00000140| 20 22 43 52 65 63 74 2e | 68 22 0d 0d 63 6c 61 73 | "CRect.|h"..clas| |00000150| 73 20 54 45 6e 76 69 72 | 6f 6e 6d 65 6e 74 0d 7b |s TEnvir|onment.{| |00000160| 0d 70 75 62 6c 69 63 3a | 0d 09 54 45 6e 76 69 72 |.public:|..TEnvir| |00000170| 6f 6e 6d 65 6e 74 28 76 | 6f 69 64 29 3b 0d 09 7e |onment(v|oid);..~| |00000180| 54 45 6e 76 69 72 6f 6e | 6d 65 6e 74 28 29 20 7b |TEnviron|ment() {| |00000190| 7d 3b 0d 09 0d 09 69 6e | 6c 69 6e 65 20 42 6f 6f |};....in|line Boo| |000001a0| 6c 65 61 6e 20 48 61 73 | 47 65 73 74 61 6c 74 41 |lean Has|GestaltA| |000001b0| 74 74 72 69 62 75 74 65 | 28 4f 53 54 79 70 65 20 |ttribute|(OSType | |000001c0| 73 65 6c 65 63 74 6f 72 | 2c 20 55 49 6e 74 33 32 |selector|, UInt32| |000001d0| 20 61 74 74 72 69 62 75 | 74 65 29 3b 0d 09 0d 09 | attribu|te);....| |000001e0| 42 6f 6f 6c 65 61 6e 20 | 48 61 73 43 6f 6c 6f 72 |Boolean |HasColor| |000001f0| 51 75 69 63 6b 64 72 61 | 77 28 76 6f 69 64 29 3b |Quickdra|w(void);| |00000200| 0d 09 42 6f 6f 6c 65 61 | 6e 20 48 61 73 41 70 70 |..Boolea|n HasApp| |00000210| 6c 65 45 76 65 6e 74 28 | 76 6f 69 64 29 3b 0d 09 |leEvent(|void);..| |00000220| 42 6f 6f 6c 65 61 6e 20 | 48 61 73 47 65 73 74 61 |Boolean |HasGesta| |00000230| 6c 74 28 76 6f 69 64 29 | 3b 0d 09 42 6f 6f 6c 65 |lt(void)|;..Boole| |00000240| 61 6e 20 48 61 73 45 78 | 74 65 6e 64 65 64 44 49 |an HasEx|tendedDI| |00000250| 54 4c 28 76 6f 69 64 29 | 3b 0d 09 0d 09 76 6f 69 |TL(void)|;....voi| |00000260| 64 20 47 65 74 4d 6f 6e | 69 74 6f 72 52 65 63 74 |d GetMon|itorRect| |00000270| 28 63 6f 6e 73 74 20 43 | 52 65 63 74 26 20 72 2c |(const C|Rect& r,| |00000280| 0d 09 09 09 09 09 09 43 | 52 65 63 74 26 20 6d 6f |.......C|Rect& mo| |00000290| 6e 69 74 6f 72 29 3b 09 | 09 09 2f 2f 20 52 65 74 |nitor);.|..// Ret| |000002a0| 75 72 6e 73 20 74 68 65 | 20 6d 6f 6e 69 74 6f 72 |urns the| monitor| |000002b0| 20 72 65 63 74 61 6e 67 | 6c 65 20 63 6f 76 65 72 | rectang|le cover| |000002c0| 69 6e 67 20 6d 6f 73 74 | 20 6f 66 20 72 0d 09 76 |ing most| of r..v| |000002d0| 6f 69 64 20 47 65 74 4d | 61 69 6e 53 63 72 65 65 |oid GetM|ainScree| |000002e0| 6e 52 65 63 74 28 43 52 | 65 63 74 26 20 74 68 65 |nRect(CR|ect& the| |000002f0| 4d 61 69 6e 53 63 72 65 | 65 6e 52 65 63 74 29 3b |MainScre|enRect);| |00000300| 2f 2f 20 52 65 74 75 72 | 6e 73 20 74 68 65 20 72 |// Retur|ns the r| |00000310| 65 63 74 61 6e 67 6c 65 | 20 6f 66 20 74 68 65 20 |ectangle| of the | |00000320| 6d 61 69 6e 20 73 63 72 | 65 65 6e 0d 09 42 6f 6f |main scr|een..Boo| |00000330| 6c 65 61 6e 20 49 73 53 | 79 73 74 65 6d 53 63 72 |lean IsS|ystemScr| |00000340| 69 70 74 52 54 4c 28 76 | 6f 69 64 29 3b 0d 09 0d |iptRTL(v|oid);...| |00000350| 70 72 69 76 61 74 65 3a | 0d 09 65 6e 75 6d 20 54 |private:|..enum T| |00000360| 72 69 73 74 61 74 65 20 | 7b 74 72 69 54 72 75 65 |ristate |{triTrue| |00000370| 2c 20 74 72 69 46 61 6c | 73 65 2c 20 74 72 69 55 |, triFal|se, triU| |00000380| 6e 6b 6e 6f 77 6e 7d 3b | 0d 09 55 6e 69 76 65 72 |nknown};|..Univer| |00000390| 73 61 6c 50 72 6f 63 50 | 74 72 09 66 55 6e 69 6d |salProcP|tr.fUnim| |000003a0| 70 6c 65 6d 65 6e 74 65 | 64 54 72 61 70 41 64 64 |plemente|dTrapAdd| |000003b0| 72 65 73 73 3b 0d 0d 09 | 54 72 69 73 74 61 74 65 |ress;...|Tristate| |000003c0| 09 66 48 61 73 43 6f 6c | 6f 72 51 75 69 63 6b 64 |.fHasCol|orQuickd| |000003d0| 72 61 77 3b 0d 09 54 72 | 69 73 74 61 74 65 09 66 |raw;..Tr|istate.f| |000003e0| 48 61 73 41 70 70 6c 65 | 45 76 65 6e 74 3b 0d 09 |HasApple|Event;..| |000003f0| 54 72 69 73 74 61 74 65 | 09 66 48 61 73 47 65 73 |Tristate|.fHasGes| |00000400| 74 61 6c 74 3b 0d 09 54 | 72 69 73 74 61 74 65 09 |talt;..T|ristate.| |00000410| 66 48 61 73 45 78 74 65 | 6e 64 65 64 44 49 54 4c |fHasExte|ndedDITL| |00000420| 3b 0d 09 54 72 69 73 74 | 61 74 65 09 66 53 79 73 |;..Trist|ate.fSys| |00000430| 74 65 6d 53 63 72 69 70 | 74 49 73 52 54 4c 3b 0d |temScrip|tIsRTL;.| |00000440| 7d 3b 0d 0d 0d 42 6f 6f | 6c 65 61 6e 20 54 45 6e |};...Boo|lean TEn| |00000450| 76 69 72 6f 6e 6d 65 6e | 74 3a 3a 48 61 73 47 65 |vironmen|t::HasGe| |00000460| 73 74 61 6c 74 41 74 74 | 72 69 62 75 74 65 28 4f |staltAtt|ribute(O| |00000470| 53 54 79 70 65 20 73 65 | 6c 65 63 74 6f 72 2c 20 |SType se|lector, | |00000480| 55 49 6e 74 33 32 20 61 | 74 74 72 69 62 75 74 65 |UInt32 a|ttribute| |00000490| 29 0d 7b 0d 09 53 49 6e | 74 33 32 20 72 65 73 70 |).{..SIn|t32 resp| |000004a0| 6f 6e 73 65 3b 0d 09 0d | 09 72 65 74 75 72 6e 20 |onse;...|.return | |000004b0| 28 3a 3a 47 65 73 74 61 | 6c 74 28 73 65 6c 65 63 |(::Gesta|lt(selec| |000004c0| 74 6f 72 2c 20 26 72 65 | 73 70 6f 6e 73 65 29 20 |tor, &re|sponse) | |000004d0| 3d 3d 20 6e 6f 45 72 72 | 29 20 26 26 20 0d 09 09 |== noErr|) && ...| |000004e0| 28 28 72 65 73 70 6f 6e | 73 65 20 26 20 28 31 4c |((respon|se & (1L| |000004f0| 20 3c 3c 20 61 74 74 72 | 69 62 75 74 65 29 29 20 | << attr|ibute)) | |00000500| 21 3d 20 30 29 3b 0d 7d | 0d 00 00 00 00 00 00 00 |!= 0);.}|........| |00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000580| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F| |00000590| 74 53 74 79 6c 65 48 61 | 6e 64 6c 65 28 74 68 65 |tStyleHa|ndle(the| |000005a0| 48 61 6e 64 6c 65 2c 20 | 68 54 45 29 20 54 45 53 |Handle, |hTE) TES| |000005b0| 0e 54 45 6e 76 69 72 6f | 6e 6d 65 6e 74 2e 68 6d |.TEnviro|nment.hm| |000005c0| 02 00 00 00 54 45 58 54 | 43 57 49 45 01 00 01 04 |....TEXT|CWIE....| |000005d0| 00 00 54 45 58 54 43 57 | 49 45 01 00 01 04 00 00 |..TEXTCW|IE......| |000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000005f0| 00 00 ad 84 39 e0 00 00 | 04 89 00 00 01 9a 29 0d |....9...|......).| |00000600| 23 64 65 66 69 6e 65 20 | 47 65 74 53 74 79 6c 65 |#define |GetStyle| |00000610| 48 61 6e 64 6c 65 28 68 | 54 45 29 20 54 45 47 65 |Handle(h|TE) TEGe| |00000620| 74 53 74 79 6c 65 48 61 | 6e 64 6c 65 28 68 54 45 |tStyleHa|ndle(hTE| |00000630| 29 0d 23 64 65 66 69 6e | 65 20 54 45 53 74 79 6c |).#defin|e TEStyl| |00000640| 50 61 73 74 65 28 68 54 | 45 29 20 54 45 53 74 79 |Paste(hT|E) TESty| |00000650| 6c 65 50 61 73 74 65 28 | 68 54 45 29 0d 23 64 65 |lePaste(|hTE).#de| |00000660| 66 69 6e 65 20 47 65 74 | 53 74 79 6c 53 63 72 61 |fine Get|StylScra| |00000670| 70 28 68 54 45 29 20 54 | 45 47 65 74 53 74 79 6c |p(hTE) T|EGetStyl| |00000680| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....| |00000690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000006a0| 00 00 00 00 00 00 00 03 | 00 04 00 5b 01 b4 02 b9 |........|...[....| |000006b0| 03 8d 00 5b 01 b4 02 b9 | 03 8d ad fc 28 5e 00 00 |...[....|....(^..| |000006c0| 00 2b 00 00 00 2b 00 00 | 00 00 01 00 00 00 00 04 |.+...+..|........| |000006d0| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T| |000006e0| 00 00 00 46 02 b0 f3 38 | 2f be 00 00 00 1c 00 46 |...F...8|/......F| |000006f0| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..| |00000700| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........| |00000710| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........| |00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| +--------+-------------------------+-------------------------+--------+--------+